package cn.tedu.csmall.product.mapper;

import cn.tedu.csmall.product.pojo.entity.Attribute;
import cn.tedu.csmall.product.pojo.vo.AttributeListItemVO;
import cn.tedu.csmall.product.pojo.vo.AttributeStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Administrator
* @description 针对表【pms_attribute(属性)】的数据库操作Mapper
* @createDate 2023-06-29 11:49:23
* @Entity generator.domain.Attribute
*/
@Repository
public interface AttributeMapper extends BaseMapper<Attribute> {
    AttributeStandardVO getStandardById(Long id);

    List<AttributeListItemVO> listByTemplateId(Long templateId);
}



